package mywebapp.tools.struts;

public class HEADER_JSP
{
  protected static String nl;
  public static synchronized HEADER_JSP create(String lineSeparator)
  {
    nl = lineSeparator;
    HEADER_JSP result = new HEADER_JSP();
    nl = null;
    return result;
  }

  public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
  protected final String TEXT_1 = "";
  protected final String TEXT_2 = NL;
  protected final String TEXT_3 = "\" %>";
  protected final String TEXT_4 = NL;
  protected final String TEXT_5 = "\" %>";
  protected final String TEXT_6 = NL;
  protected final String TEXT_7 = "\" %>";
  protected final String TEXT_8 = NL;
  protected final String TEXT_9 = "\" %>";

  public String generate(Object argument)
  {
    final StringBuffer stringBuffer = new StringBuffer();
    stringBuffer.append(TEXT_1);
    stringBuffer.append(TEXT_2);
    stringBuffer.append( "<%@ page language=\"java\" contentType=\"text/html; charset=ISO-8859-1\" pageEncoding=\"ISO-8859-1");
    stringBuffer.append(TEXT_3);
    stringBuffer.append(TEXT_4);
    stringBuffer.append( "<%@ taglib prefix=\"html\" uri=\"http://struts.apache.org/tags-html");
    stringBuffer.append(TEXT_5);
    stringBuffer.append(TEXT_6);
    stringBuffer.append( "<%@ taglib prefix=\"bean\" uri=\"http://struts.apache.org/tags-bean");
    stringBuffer.append(TEXT_7);
    stringBuffer.append(TEXT_8);
    stringBuffer.append( "<%@ taglib prefix=\"nested\" uri=\"http://struts.apache.org/tags-nested");
    stringBuffer.append(TEXT_9);
    return stringBuffer.toString();
  }
}
